package com.group.model;

import java.util.Date;
import java.util.List;

/**
 * BBS消息
 */
public class Message {
	private Long id;

	/**
	 * 接收者的id
	 */
	private Long userId;

	private Long topicReplyId;

	/**
	 * 发送者的id
	 */
	private Long senderId;

	/**
	 * 消息是否被消费 0未读 1已读
	 */
	private int state;

	/**
	 * 消息类型 1评论 0粉丝
	 */
	private int type;

	/**
	 * 回复内容
	 */
	private String content;

	/**
	 * 表情列表
	 */
	private List<Emoji> emojis;

	/**
	 * 帖子Id
	 */
	private Long topicId;
	
	/**
	 * 帖子详情
	 */
	private Topic topic;

	/**
	 * 用户名
	 */
	private String userName;

	/**
	 * 头像
	 */
	private String userHeadimage;

	/**
	 * 是否关注
	 */
	private Boolean isLike;

	private Date createTime;

	public Boolean getIsLike() {
		return isLike;
	}

	public void setIsLike(Boolean isLike) {
		this.isLike = isLike;
	}

	public Long getTopicReplyId() {
		return topicReplyId;
	}

	public void setTopicReplyId(Long topicReplyId) {
		this.topicReplyId = topicReplyId;
	}

	public List<Emoji> getEmojis() {
		return emojis;
	}

	public void setEmojis(List<Emoji> emojis) {
		this.emojis = emojis;
	}

	public Long getTopicId() {
		return topicId;
	}

	public void setTopicId(Long topicId) {
		this.topicId = topicId;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserHeadimage() {
		return userHeadimage;
	}

	public void setUserHeadimage(String userHeadimage) {
		this.userHeadimage = userHeadimage;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Long getSenderId() {
		return senderId;
	}

	public void setSenderId(Long senderId) {
		this.senderId = senderId;
	}

	public Topic getTopic() {
		return topic;
	}

	public void setTopic(Topic topic) {
		this.topic = topic;
	}
}
